// 接口封装
// 所有的请求都应该放在此处在后面直接调用

import { get, post } from "../utils/request"
import {login} from "./login"

// 接口测试
export const testApi = (values) => {
  console.log(login);
  return post(login.login, 
   values
  )
}
export const getList = (values) => {
  return get('/users',values)
}
export const getCommten = () => {
  return get("/commnets")
}
export const getRefundData = () => {
  return get('refund')
}
export const getPage = () => {
  return post('/coupon/couList',{limit:5,page:1})
}
export const test = () => {
  return post('/test')
}
export const goods = () => {
  return get("/shopList")
}